<template>
  <div class="init-form">
    <h2>Please Choose an Option</h2>
    <div class="button-group">
      <router-link to="/login" class="btn btn-primary">Login</router-link>
      <router-link to="/register" class="btn btn-secondary">Register</router-link>
    </div>
  </div>


</template>

<script>
export default {
  name: 'InitForm'
};
</script>

<style scoped>
.init-form {
  max-width: 100vh;
  max-height: 100vh;
  margin: auto;
  padding: 1em; /* 可以减少 padding 值 */
  border: 1px solid #ccc;
  border-radius: 1em;
  background-color: #f9f9f9;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.button-group {
  display: flex;
  flex-direction: column;
  gap: 1em;
}
.btn {
  padding: 0.7em;
  color: #fff;
  background-color: #007BFF;
  border: none;
  border-radius: .3em;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
}
.btn-secondary {
  background-color: #6c757d;
}
.btn-primary:hover {
  background-color: #0056b3;
}
.btn-secondary:hover {
  background-color: #5a6268;
}
</style>
